package com.woniu.service;

import com.woniu.model.EArtical;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 文章表 服务类
 * </p>
 *
 * @author Kevin Kwok
 * @since 2021-04-16
 */
public interface IEArticalService extends IService<EArtical> {

    int addNewArtical(String title,String content,Integer typeId);

    int editNewArtical(String title,String content,Integer typeId,Integer id);

    int deleteArtical(Integer id);

    List<EArtical> queryAll();
}
